Fix handling of child in forkHelper.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 3 Nov 2005 01:44:41 +0000 (02:44 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 3 Nov 2005 01:44:41 +0000 (02:44 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendCheckpoint.py

index a3a7084558a558668b14ef83d88230b9bd67b996..8ea93a834af5e8a8d6b6e688d52d942d16d0abbf 100644 (file)
@@ -177,7 +177,7 @@ def forkHelper(cmd, fd, inputHandler, closeToChild):
     if closeToChild:
         child.tochild.close()
 
-    thread = threading.Thread(target = slurp, args = (child.childerr))
+    thread = threading.Thread(target = slurp, args = (child.childerr,))
     thread.start()
 
     try: